package game;

// 测试类
public class Test {
    public static void main(String[] args) {
        Magician magician = new Magician("魔法师", 3);
        Soldier soldier = new Soldier("战士", 20);
        Team team = new Team();
        team.addMember(magician);
        team.addMember(soldier);
        System.out.println("组队总伤害值：" + team.attackSum());
    }
}